package com.dc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 安全隐患工单
 *
 * @author feishaobin
 * @email
 * @date 2021-12-30 18:00:08
 */
@Data
@ApiModel
@TableName("dc_work_order_file")
public class WorkOrderFile implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "")
    private Long id;
    /**
     * 关联dc_work_order表id
     */
    @ApiModelProperty(value = "关联dc_work_order表id")
    private Long workOrderId;
    /**
     * 文件url
     */
    @ApiModelProperty(value = "文件url")
    private String filePath;

}
